<template>
  <el-form-item :label="i18nt('designer.setting.backgroundType')">
    <el-select v-model="optionModel.bgType">
      <el-option v-for="item in bgTypes" :key="item.value" :label="item.label" :value="item.value">
      </el-option>
    </el-select>
  </el-form-item>
</template>

<script>
export default {
  name: 'BgTypeEditor',
  props: {
    designer: Object,
    selectedWidget: Object,
    optionModel: Object
  },
  data() {
    return {
      bgTypes: [
        { label: '单色', value: 1 },
        { label: '图片', value: 2 }
      ]
    }
  }
}
</script>

<style scoped></style>
